package com.gzhryc.html.models;

import java.util.HashMap;
import java.util.Map;

/**
 * HTTP模板主题
 * 
 * @author 张浩
 * @version 2016-10-30
 */
public class HtmlTheme {

	protected String code; // 主题代码
	protected Map<String, HtmlTemplate> templates; // 页面模板配置
	protected String realFilePath;

	public HtmlTheme(String code, String realFilePath) {
		this.code = code;
		this.realFilePath = realFilePath;
		this.templates = new HashMap<String, HtmlTemplate>();
	}

	public HtmlTheme() {
		this.templates = new HashMap<String, HtmlTemplate>();
	}

	public String getRealFilePath() {
		return realFilePath;
	}

	public void setRealFilePath(String realFilePath) {
		this.realFilePath = realFilePath;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Map<String, HtmlTemplate> getTemplates() {
		return templates;
	}

	public void setTemplates(Map<String, HtmlTemplate> templates) {
		this.templates = templates;
	}
}
